package com.itheima.zixi1.ZuoYe.ZuoYe3;

public class GoldCard extends  Card{
    @Override
    public double pay(double  money) {
        return money*0.8;
    }

    public GoldCard() {
    }

    public GoldCard(String id, double balance) {
        super(id, balance);
    }
}
